class BlindboxActivitiesVo {

  BlindboxActivityData? data;

  BlindboxActivitiesVo({this.data});

  BlindboxActivitiesVo.fromJson(Map<String, dynamic> json) {
    data = json['data'] != null ? new BlindboxActivityData.fromJson(json['data']) : null;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    if (this.data != null) {
      data['data'] = this.data!.toJson();
    }
    return data;
  }
}

class BlindboxActivityData {
  int? id;
  String? title;
  String? image;
  String? rules;
  int? sales;
  String? price;

  BlindboxActivityData({this.id, this.title, this.image, this.rules, this.sales, this.price});

  BlindboxActivityData.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    title = json['title'];
    image = json['image'];
    rules = json['rules'];
    sales = json['sales'];
    price = json['price'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['title'] = this.title;
    data['image'] = this.image;
    data['rules'] = this.rules;
    data['sales'] = this.sales;
    data['price'] = this.price;
    return data;
  }
}
